package com.smedi.ismedi.dangeroussourcemanage.core;

import com.smedi.ismedi.constructionproject.api.feign.RemoteConstructionProjectFeignApi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = {
        "com.smedi.ismedi.constructionproject.api.feign",
}, basePackageClasses = {
        RemoteConstructionProjectFeignApi.class,
})
@SpringBootApplication
@MapperScan({"com.smedi.ismedi.dangeroussourcemanage.core.port.adapter.persistence.mybatis.mapper"})
public class ISmediDangerousSourceCoreApplication {
    public static void main(String[] args) {
        SpringApplication.run(ISmediDangerousSourceCoreApplication.class, args);
        System.out.println("启动成功！！！");
    }
}
